package com.efuture.netrequestdemo.utils

import android.app.ProgressDialog
import android.content.Context

/**

 *@description:TODO
 * @author: zhaoshanshan
 * @date: 2022/3/24 11:22 下午

 */
object LoadingUtils {
    var mProgressDialog:ProgressDialog? = null
    fun showLoadIngDialog(context: Context,tip:String){
        mProgressDialog = ProgressDialog(context)
        mProgressDialog?.setTitle("请求服务器中...")
        mProgressDialog?.show()
    }
    fun disMissLoadIngDialog(){
        mProgressDialog?.dismiss()
    }
}